'use strict';

const { nanoid: nid } = require('nanoid');

const _records = [
  {
    id: '20220125154324f93f1fe6b0fd4a99b4',
    sourceDbId: '20220124091805d8c849d465754a8786',
    sourceDbName: 'zy_platform_four',
    sourceTable: 'affiliation_table',
    targetDbId: '20220124110937ab7f42a553844e2e91',
    targetDbName: 'zy_kswfjs_new',
    targetTable: 'app_function_management',
    isSame: '1',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-01-26 05:43:24',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  {
    id: '202201270946437fa4a5f1d714464d89',
    sourceDbId: '20220124110937ab7f42a553844e2e91',
    sourceDbName: 'edusoho',
    sourceTable: 'biz_scheduler_job_process',
    targetDbId: '20220124091805d8c849d465754a8786',
    targetDbName: 'zy_platform_four',
    targetTable: 'flow',
    isSame: '0',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-01-27 23:46:43',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  {
    id: '20220223111338ba3c54355f4c45d29b',
    sourceDbId: '202202221616133da5ddebe586457ab2',
    sourceDbName: 'zy_wzqzhxzzf',
    sourceTable: 'c_case',
    targetDbId: '20220222161754c7603fc942f04c4999',
    targetDbName: 'zy_fzjd_prod',
    targetTable: 'case_info',
    isSame: '0',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-02-24 01:13:39',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  {
    id: '20220223112050a94710060a5d4067b1',
    sourceDbId: '202202221616133da5ddebe586457ab2',
    sourceDbName: 'zy_wzqzhxzzf',
    sourceTable: 'c_case',
    targetDbId: '20220222161754c7603fc942f04c4999',
    targetDbName: 'zy_fzjd_prod',
    targetTable: 'case_party',
    isSame: '0',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-02-24 01:20:50',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  {
    id: '2022022311502632014e09abc6439bbe',
    sourceDbId: '202202221616133da5ddebe586457ab2',
    sourceDbName: 'zy_wzqzhxzzf',
    sourceTable: 'c_case',
    targetDbId: '20220222161754c7603fc942f04c4999',
    targetDbName: 'zy_fzjd_prod',
    targetTable: 'case_illegal',
    isSame: '0',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-02-24 01:50:26',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  {
    id: '20220223115617212fcd2fec4b4336a9',
    sourceDbId: '202202221616133da5ddebe586457ab2',
    sourceDbName: 'zy_wzqzhxzzf',
    sourceTable: 'c_case',
    targetDbId: '20220222161754c7603fc942f04c4999',
    targetDbName: 'zy_fzjd_prod',
    targetTable: 'case_acceptance',
    isSame: '0',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-02-24 01:56:17',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  {
    id: '202202231754561f93d8e441094aeb80',
    sourceDbId: '202202221616133da5ddebe586457ab2',
    sourceDbName: 'zy_wzqzhxzzf',
    sourceTable: 'c_case',
    targetDbId: '20220222161754c7603fc942f04c4999',
    targetDbName: 'zy_fzjd_prod',
    targetTable: 'case_source',
    isSame: '0',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-02-24 07:54:56',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  {
    id: '20220223180559a8bc049572104ba3b7',
    sourceDbId: '202202221616133da5ddebe586457ab2',
    sourceDbName: 'zy_wzqzhxzzf',
    sourceTable: 'c_case',
    targetDbId: '20220222161754c7603fc942f04c4999',
    targetDbName: 'zy_fzjd_prod',
    targetTable: 'case_filing_case',
    isSame: '0',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-02-24 08:06:00',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  {
    id: '202202231811208306b177676e4439a9',
    sourceDbId: '202202221616133da5ddebe586457ab2',
    sourceDbName: 'zy_wzqzhxzzf',
    sourceTable: 'c_case',
    targetDbId: '20220222161754c7603fc942f04c4999',
    targetDbName: 'zy_fzjd_prod',
    targetTable: 'case_processing_approval',
    isSame: '0',
    createBy: 'e9ca23d68d884d4ebb19d07889727dae',
    createTime: '2022-02-24 08:11:21',
    updateBy: null,
    updateTime: null,
    isDelete: 0,
  },
  // {
  //   id: '202202231812343934c8f0e23645749e',
  //   sourceDbId: '202202221616133da5ddebe586457ab2',
  //   sourceDbName: 'zy_wzqzhxzzf',
  //   sourceTable: 'c_case',
  //   targetDbId: '20220222161754c7603fc942f04c4999',
  //   targetDbName: 'zy_fzjd_prod',
  //   targetTable: 'case_receipt_service',
  //   isSame: '0',
  //   createBy: 'e9ca23d68d884d4ebb19d07889727dae',
  //   createTime: '2022-02-24 08:12:34',
  //   updateBy: null,
  //   updateTime: null,
  //   isDelete: 0,
  // },
];

function clone(v) {
  return JSON.parse(JSON.stringify(v));
}

exports.records = _records.concat(
  clone(_records)
).concat(
  clone(_records)
).map(v => {
  v.id = nid();
  return v;
});
